package com.hellomaker.redismq.starter.config;

import com.hellomaker.redismq.consume.GroupConsumer;
import io.lettuce.core.StreamMessage;

import java.util.List;

public interface ListenMessage {

    void onMessage(GroupConsumer<String, String> consumer, List<StreamMessage<String, String>> messageList);

}
